package gestionColis;

/**
 * Interface definition : GestBancaire
 * 
 * @author OpenORB Compiler
 */
public class GestBancairePOATie extends GestBancairePOA
{

    //
    // Private reference to implementation object
    //
    private GestBancaireOperations _tie;

    //
    // Private reference to POA
    //
    private org.omg.PortableServer.POA _poa;

    /**
     * Constructor
     */
    public GestBancairePOATie(GestBancaireOperations tieObject)
    {
        _tie = tieObject;
    }

    /**
     * Constructor
     */
    public GestBancairePOATie(GestBancaireOperations tieObject, org.omg.PortableServer.POA poa)
    {
        _tie = tieObject;
        _poa = poa;
    }

    /**
     * Get the delegate
     */
    public GestBancaireOperations _delegate()
    {
        return _tie;
    }

    /**
     * Set the delegate
     */
    public void _delegate(GestBancaireOperations delegate_)
    {
        _tie = delegate_;
    }

    /**
     * _default_POA method
     */
    public org.omg.PortableServer.POA _default_POA()
    {
        if (_poa != null)
            return _poa;
        else
            return super._default_POA();
    }

    /**
     * Operation creationCompte
     */
    public void creationCompte(gestionColis.InfoAdherent adherent)
        throws gestionColis.InfoAdherentInvalideException
    {
        _tie.creationCompte( adherent);
    }

    /**
     * Operation crediter
     */
    public void crediter(gestionColis.InfoTransaction transaction)
        throws gestionColis.AdherentInconnuException, gestionColis.MontantInvalideException
    {
        _tie.crediter( transaction);
    }

    /**
     * Operation debiter
     */
    public void debiter(gestionColis.InfoTransaction transaction)
        throws gestionColis.AdherentInconnuException, gestionColis.MontantInvalideException
    {
        _tie.debiter( transaction);
    }

    /**
     * Operation verificationSolde
     */
    public void verificationSolde(gestionColis.InfoTransaction transaction)
        throws gestionColis.AdherentInconnuException, gestionColis.MontantInvalideException
    {
        _tie.verificationSolde( transaction);
    }

}
